modify bounding box