[Suffix tree] Imperative LCS is completed