Working suffix tree