Effect of oligomers extraction in polycondensation reactions on number and weight average degree of polymerization