Montana averts huge shortfall for health care system