// atoms
IRing newRing = createAttachRing(sharedAtoms, size, "C", phantom);
ringPlacer.placeFusedRing(newRing, sharedAtoms, sharedAtomsCenter,
ringCenterVector, bondLength);
// add the new atoms and bonds
for (IAtom ringAtom : newRing.atoms()) {
if (ringAtom != firstAtom && ringAtom != secondAtom) {
if (phantom)
addPhantomAtom(ringAtom);
else
sourceContainer.addAtom(ringAtom);