trie made of dicts