reset scaling to take smalles dimension into account