breaking out of bounding box loop