HistogramAverageHandler finished until it will be expanded according to todo