Enzymatic polymerization and oligomerization