grammar nit: should be "find the starting position of the prefix"