public double fromBin(int b) {
            if (b < MIN_BIN_NUMBER) {
                return Float.NEGATIVE_INFINITY;
            }
            if (b > maxBinNumber) {
                return Float.POSITIVE_INFINITY;
            }
            return min + b * bucketWidth;
        }
Create a bin scheme with the specified number of bins that all have the same width.

@param bins the number of bins; must be at least 2
@param min the minimum value to be counted in the bins
@param max the maximum value to be counted in the bins
clients/src/main/java/org/apache/kafka/common/metrics/stats/Histogram.java