until Distinct Subsequences