void getElementAndAtomCount(BitSet atomList) {
			for (int i = 0; i < atomCount; i++)
				if (atomList.get(i)) {
					nAtoms++;
					int n = atoms[i].getAtomicAndIsotopeNumber();
					if (n < 128) {
						elementCounts[n]++;
						if (elementCounts[n] == 1)
							nElements++;
						elementNumberMax = Math.max(elementNumberMax, n);
					}
					else {
						n = JmolConstants.altElementIndexFromNumber(n);
						altElementCounts[n]++;
						if (altElementCounts[n] == 1)
							nElements++;
						altElementMax = Math.max(altElementMax, n);
					}
				}
		}