The class size debate and educational mechanisms