Implementation of two different strategies for calculation of search length.

I don't get how this could *not* be an edge...