Takes care of overlapping walls for rooms