Prisoners to be released after serving 40% of sentence to alleviate overcrowding