Working suffix tree.