Added wall margin to hb map building