1. In practice, if the current string is shorter than the previous one or if the matching length is longer than the farmost index distance or if it's the best matching, searching operation is ended.
2. In practice, if the current string is shorter than the previous one or if the matching length is longer than the farmost index distance or if it's the best matching, searching operation is ended.