Is it surprising that the cellular prison, with its regular chronologies, forced labour, its authorities of surveillance and registration, its experts in normality, who continue and multiply the functions of the judge, should have become the modern instrument of penality? Is it surprising that prisons resemble factories, schools, barracks, hospitals, which all resemble prisons? Michel Foucault
this is because tall, rectangular buildings maximize volume to surface area, whether a hospital school or prison. It is not a form of social control or domination. it is more efficient this way. A one-story hospital would be prohibitively expensive to build in an urban area, and it is not like healthcare is not already too expensive.
I've spent extensive time in all of these except prisons, and I can tell you the difference is stark. What explains that? Is it all just down to expensive trim and interior decor? I'm sure that plays a part, but that was never my main impression. Instead, it comes down to the layout and light and feel: it's clear when a building, however regular and rectangular, is designed to support and empower the occupants and when it's designed to control and direct.