add advection stability check