More fleshing out of the Trie. STILL HIGHLY UNSTABLE; DO NOT USE.