The Stability Formula