fixed scaling of n and stddev