More stable std calc.