add distinct subseqence