Teacher pension plan to cost billions