[Suffix tree] completed the canonical reference pair part