Longer homeownership tenure leads to higher gains at resale.