Merge bounding boxes.