1. don't modify original data when doing moving average;