Merging of bounding boxes works