code: func newDistanceSet() *distanceSet {
  	return &distanceSet{
  		MinDistance: math.MaxFloat64,
  		Distances:   make(map[int]float64, 500), // adding 500 was a 20% performance win
  	}
  }
docs: // newDistanceSet creates a new distance set.