Refactor BTree split.