Yes, it is using the arbitrary measurement of the width or height to determine how many floors it should support.
It makes an assumption that all multis that are at least 14 tiles wide or long should support the full 4 floors.
The client is hard-coded in a similar way, in that it knows how many...