Paying to put the person in prison + Lost productivity of person in society > Future risk of person to society --> No prison.
wow, if all government programs were based on a loss/benefit determination, you can toss out any sort of welfare, medicare, building any utility infrastructure, any police force....

dang, you would simply have to shut down the government entirely.