Translations:Room/42/en
From Vintage Story Wiki
Slabs are counted as solid on the side that is flush with other blocks but not on any others, however if the flush side faces the outside instead of the inside of the room then the game will count the block that slab is in as part of your room and check that it is within the bounding box.