Environmental changes bridge evolutionary valleys