LocalSearch, and cutoff finding modified