First step of split OK

Now the split works, we just need to control it (it is always done for
now), and to generate it (for now it is done with direction set in the
code, it's not generic).