auto-compute stability