removing unused bounding box method