Effect of hysteresis on the stability of residual soil slope