adjustments in scg and constant mean and std in normalizeStack