The effect of class-size caps on enrollment