Added diseq. to compute the scale