Sentence:  Passing through the gate , with towers on either side once used as prisons , I entered a huge square <WSD>surrounded</WSD> by buildings , and on the wall to my right found a general plan of the grounds , with explanations in English for each building . 
Meaning of the word marked with <WSD> tags:  extend on all sides of simultaneously; encircle