a stability measure