Implementation of two different strategies for calculation of search length.

why don't you add this to the initalisation list?