improve lc strstr (KMP algorithm)