add min and max in Statistic