An algorithm to find all identical internal sequence repeats