batching nodes as well