moved average segments numbers initial values to the pipeliner's constructor