Otherwis , traverse string s1 by multiple of s1_reps and update both s1_reps and s2_reps
let initial_s1_reps = s2_index_to_reps . get ( j ) [ 0 ] , initial_s2_reps = s2_index_to_reps . get ( j ) [ 1 ] ; let loop_s1_reps = s1_reps - initial_s1_reps ; let loop_s2_reps = s2_reps - initial_s2_reps ; let loops = ( n1 - initial_s1_reps ) ;