Test29.  Combination: weights and maxdeg

