statistic optimization