remove lines not part of the building