Adds (broken) long-averaging function