forming cyclic polymers or oligomers