State budget doubles cost to counties to commit sex offenders