Building mismatches index happens only in the Node.buildMismatchesIndex(k)
(reuse heavyQueue) and add NON-leaf nodes to build the mismatches index.

Searching the trie happens only in Node.search() method (reuse queue).