Add sum over reps.r