Add averaging filter