Term of the contract just affects the buyout. A 4 year extension doesn't necessarily increase the time the coach will be at the school, but it does increase the amount you have to pay to the coach when you fire him (or the amount another school has to pay in order to get him released from his contract).