Spending cuts threaten school funding in Missouri, Illinois