add unique number of terms per contribution