fixed bug: in cone search algorithm