modify combiner of average calculation