refactoring of aggragated variance estimator
refactoring of aggragated variance estimator