Optimize stats report.