docs: @SuppressWarnings("unchecked")
    private List<SpatialEntry>[] generateDistribution(SplitSorting sorting) {
      List<SpatialEntry>[] distibution;
      distibution = new List[2];
      distibution[0] = new ArrayList<>();
      distibution[1] = new ArrayList<>();
      List<SpatialEntry> sorted_entries = sorting.getSortedEntries();
      for(int i = 0; i < sorting.getSplitPoint(); i++) {
        distibution[0].add(sorted_entries.get(i));
      }
      for(int i = sorting.getSplitPoint(); i < node.getNumEntries(); i++) {
        distibution[1].add(sorted_entries.get(i));
      }
      return distibution;
    }