A solution for the overcrowded prisons