adjust scaleFactor