small debugging, now searching on grid for best solution
now searching in cicrles instead of squares
now adaptive search radius for sampling and searching