Gradually transition to new math classes