Actually part of an improvement I am thinking of - first eliminating some indices from which the pattern cannot start and then applying this on a set of "suspect" indices. But definitely unused for now. Will remove it.