Maxime Crochemore, Wojciech Rytter: Squares, Cubes, and Time-Space Efficient String Searching. Algorithmica 13(5): 405-425 (1995)