Stanislaus County Sheriff Adam Christianson and county Supervisor Vito Chiesa said one key to making Brown's realignment law work is having enough classroom space and money to provide drug and alcohol treatment and other programs that can keep criminals from committing new crimes.