docs: private List<E> createBulkDirectoryNodes(List<E> nodes) {
      int minEntries = dirMinimum;
      int maxEntries = dirCapacity - 1;
  
      ArrayList<E> result = new ArrayList<>();
      List<List<E>> partitions = settings.bulkSplitter.partition(nodes, minEntries, maxEntries);
  
      for(List<E> partition : partitions) {
        // create node
        N dirNode = createNewDirectoryNode();
        // insert nodes
        for(E o : partition) {
          dirNode.addDirectoryEntry(o);
        }
        // write to file
        writeNode(dirNode);
  
        result.add(createNewDirectoryEntry(dirNode));
        if(getLogger().isDebuggingFiner()) {
          getLogger().debugFiner("Directory page no: "+dirNode.getPageID());
        }
      }
  
      return result;
    }