fixed number of parameters for average calculation