Building codes in the US typically require minimum dimensions for habitable spaces. These minimums reflect experience developed over the millenia and the requirement that laws and regulations have objective criteria and that governments generally apply them uniformly.