This preference for high altitudes is influenced by latitude: in the farthest south of its range it never breeds below 2500 meters above mean sea level, but in the northernmost part of its range it often breeds by the sea.