scaling is finished although the dim = 2 case was weird