More refinement on mean and std