compute current average, added a stabilization pause