add  longest increasing subsequence