distinct subsequence, not done yet