Improve real_stability_interval algorithm.