NYC restricts building height to restrict population by land area. There isn't really a need for small apartments since population density is the limiting factor not space. You could build a not much more expensive apartment building instead of a dorm for the same population.