another stab at mean-square normalization