added bounding boxes to route search
now have one contour to fit all bounding boxes