Trimmed the bounding boxes