add longest common subseq