radix-tree: properly split nodes when needed