nearestPix handles NA