Add stability check