bounding box algorithm removed