### Question:
NodesBuilder { public IdMap build() { this.threadLocalBuilder.close(); return org.neo4j.graphalgo.core.loading.IdMapBuilder.build( hugeLongArrayBuilder, nodeLabelBitSetMap, maxOriginalId, concurrency, tracker ); } NodesBuilder(
        long maxOriginalId,
        boolean hasLabelInformation,
        int concurrency,
        AllocationTracker tracker
    ); void addNode(long originalId, NodeLabel... nodeLabels); IdMap build();  }### Answer:
@Test void parallelIdMapBuilder() { long nodeCount = 100; int concurrency = 4; var nodesBuilder = GraphFactory.initNodesBuilder() .maxOriginalId(nodeCount) .concurrency(concurrency) .build(); ParallelUtil.parallelStreamConsume( LongStream.range(0, nodeCount), concurrency, stream -> stream.forEach(nodesBuilder::addNode) ); var idMap = nodesBuilder.build(); assertEquals(nodeCount, idMap.nodeCount()); }