void deleteCovalentBonds() {
		int indexNoncovalent = 0;
		for (int i = 0; i < bondCount; ++i) {
			Bond bond = bonds[i];
			if (bond == null)
				continue;
			if (!bond.isCovalent()) {
				if (i != indexNoncovalent) {
					bonds[indexNoncovalent++] = bond;
					bonds[i] = null;
				}
			}
			else {
				bond.deleteAtomReferences();
				bonds[i] = null;
			}
		}
		bondCount = indexNoncovalent;
	}