fix BoundingBox extend