changed gradient lengths