Add a heuristic to change the maximum breadth according to the ROI width