In the y direction, we should have a configurable minimum segment size to avoid 1-width segments.
In the y direction, we should have a configurable minimum segment size to avoid 1-width segments.