More optimizations.

Don't store y in Strip (no longer needed).
Generalized merging (replaces append/prepend).
Find insert position while splitting.