Which factors affect the driver’s decision to shift to higher or lower gear?