use deque to take rolling average for reduced spazziness