Optimized statistic
Atmel - Ok