working on 7c but creating suffix trie takes too long