Temporarily commented statistics creation until finding how to create histogramBins.