finish longest common subsequence