Alright there seems to be a major disconnect here. How does stopping a burglary become impossible if there aren't enough prisons (NOT jails, the two are different).
Police don't really stop crime, they investigate after the fact. Stopping comes as a side-effect of the government prosecuting criminals and making it not worth it to repeat offend.