A common response to unsafe and overcrowded jails and prisons is to build new ones. Sometimes states and localities make that investment without prodding, but most often it’s because of pressure from the U.S. Justice Department and the federal courts.