Rising costs bring new urgency to jail decision