Dilation is also applied to rectangle that contains multiple bounding boxes.