when the wall was built around the convent , in order to reduce costs , it was made with as small a circumference as possible and ended up being located so close as to almost touch several buildings of the convent .