Double bunking in jails allowed and sheriffs and boards of c ounty and regional jails contracts with private prisons for care, custody, and rehabilitation of jail inmates authorized .