Patricia trie construction. Buggy. WIP