That could be a huge boon to the states , which , according to the National Association of State Budget Officers , spent a record $ 51.7 billion on corrections last fiscal year--up 300 percent over two decades .