find_repeats_correct_efficient