scaler for sgd
merge