better bounding box