Longer sentences have almost doubled prison population