California's local jails need thousands of new beds to keep up with prison realignment, and that's adding to the pressure. 

The Public Policy Institute of California says the realignment program that Governor Jerry Brown has championed has been helping us meet federal prison standards but is putting some noticeable pressure on county lockups already in need of upgrades.

Some money has been provided to build new jails, but if we're going to add the 14,000 new beds that researchers say are needed, older facilities will need to be expanded, as well.

The total cost could be $4 billion through 2040. Some local agencies have complained they're not getting enough cash.