This is exactly the problem with zoning and building restrictions. So long as they're built safely (which these don't seem to have been) the size of the space shouldn't be up to the government. If people don't want to live in them they won't.
Why can't we as a society dictate that there will be minimum standards that have to be met?