With histogram(numBuckets) what to do isn't really super well defined (since what exaclty is the max or min we should use to determine the range in that case if we contain +infity or -infity or NaN).