…and how do you get smaller class sizes? By hiring more teachers, and treating them well enough that there are a sufficient supply of qualified people willing to do it.
In other words, taxes. And focus your education funding on coalface teaching staff, not administrative cruft, football nonsense and architectural follies.