Use word-trie with fixed bounds