It was a fort, all right, this whole stronghold of Rennie's not just the bunkhouse which formed part of a side wall.
The bunkhouse formed a part of a side wall.
The bunkhouse formed a part of the back wall.