Grant money aimed at reducing jail population