A method for creating a histogram from a plurality of data elements that
includes specifying a plurality of internal buckets, wherein each
internal bucket of the plurality of internal buckets represent values
between an internal minimum value and an internal maximum value, wherein
a plurality of differences of the internal minimum value and the internal
maximum value of each internal bucket are heterogeneous, populating the
plurality of internal buckets with the plurality of data elements based
on the internal minimum value and the internal maximum value of each
internal bucket to obtain a plurality of populated internal buckets, and
outputting the histogram from the plurality of populated internal
buckets.