Harsh sentencing rules cost millions without cutting crime