Recursive build of mangled-trie