Have encoder working with running average