Link bounding boxes to their parents