Use measurement of total width: All walls calculated together.
If there is a door or window measure as if it would be a normal wall, do not remove areas occupied by doors/windows.
For example wall 1 is 250cm, wall 2 is 150cm, wall 3 is 250cm, wall 4 is 150cm. Total width to enter = 800