improvements to DNeighbors