Changes scaling logic