Separate logic if only measureing the variance.