Sorry, in my previous message the formula for size of basis was wrong. (Dim+Order-1)! / [(Dim-1)! * Order!] is the number of terms of a given order, not the basis size.
View entire thread