void clearPolymers() {
		for (int i = 0; i < groupCount; ++i) {
			Group group = groups[i];
			if (group instanceof Monomer) {
				Monomer monomer = (Monomer) group;
				if (monomer.polymer != null)
					monomer.polymer = null;
			}
		}
	}