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();
Graph graph = new OrderedGraphFactoryImpl(longIndexes, nodePool, collectionFactory).getGraph();
return new MoleculeGraphImpl(writeIndex, readIndex, moleculeLocalizer, graph, nodePool);
}