bugfix in scalefactors (was applying the same one for all the variations)