adjust bounding boxes