Trim bounding box