Algorithm improvement.

Use some knowledge to avoid analyzing some needless overlaps.  If we know
how wide a set of parts is, the last part of the set can't be further to
the left than the length of the whole set less its own length.