split-into-monotonics is pretty nasty