Renamed _sparse3MinDistance to sparseMinDistanceSquared