code: func getNewCountForIndex(eqCount, rangeCount, totalCount, realCount float64) (float64, float64) {
  	estimate := (eqCount / totalCount) * (rangeCount / totalCount) * totalCount
  	if estimate <= 1 {
  		return eqCount, rangeCount
  	}
  	adjustFactor := math.Sqrt(realCount / estimate)
  	adjustFactor = math.Max(adjustFactor, minAdjustFactor)
  	return eqCount * adjustFactor, rangeCount * adjustFactor
  }
docs: // getNewCountForIndex adjust the estimated `eqCount` and `rangeCount` according to the real count.
  // We assumes that `eqCount` and `rangeCount` contribute the same error rate.