Create repeatedSubsequence