radix tree to trie