@SuppressWarnings("unchecked")
	void addAtom(Object atomUid, short element, String atomName, int formalCharge, float partialCharge, float x,
			float y, float z, float vx, float vy, float vz, Object clientAtomReference) {
		if (atomCount == atoms.length)
			growAtomArrays();
		Atom at = new Atom(this, currentModelIndex, atomCount, null, 0, element, atomName, viewer.getMadAtom(),
				formalCharge, partialCharge, 0, 0, x, y, z, false, -1, '0', "", vx, vy, vz, '0', clientAtomReference);
		atoms[atomCount] = at;
		at.modelIndex = (short) viewer.getDisplayModelIndex();
		at.setMadAtom(viewer.getMadAtom());
		at.transform(viewer);
		htAtomMap.put(atomUid, at);
		atomCount++;
	}