Use online average computation