equal-area criterion of stability