void calcSelectedMoleculesCount(BitSet bsSelected) {
		if (moleculeCount == 0)
			getMolecules();
		selectedMolecules.xor(selectedMolecules);
		selectedMoleculeCount = 0;
		for (int i = 0; i < moleculeCount; i++) {
			bsTemp.clear();
			bsTemp.or(bsSelected);
			bsTemp.and(molecules[i].atomList);
			if (bsTemp.length() > 0) {
				selectedMolecules.set(i);
				selectedMoleculeCount++;
			}
		}
	}