public MoleculeGraph getNewGraph() {
MoleculeStructureIndex<Long>[] structureIndexes = createMoleculeStructureIndexes();
ReadableIndex<Long> readIndex = new ReadableIndexImpl(structureIndexes);
WritableIndex<Long> writeIndex = new WritableIndexImpl(structureIndexes);
NodePoolFactory nodePoolFactory = new MemNodePoolFactory();
NodePool nodePool = nodePoolFactory.createNewNodePool();
Localizer localizer = new LocalizerImpl(nodePool, STRING_MAPPER);
MoleculeLocalizer moleculeLocalizer = new MoleculeLocalizerImpl(localizer);
LongIndex[] longIndexes = new LongIndex[]{new LongIndexAdapter(structureIndexes[0]),
new LongIndexAdapter(structureIndexes[1]), new LongIndexAdapter(structureIndexes[2])};
IteratorTrackingCollectionFactory collectionFactory = new MemCollectionFactory();