Using trie for indexes, now testing