adjust search margins