limit search distance