revised nearest neighbor to prioritize exploring child node that is on same side of parent node as the query point.