private int doMoves(RebalanceDirector director, PartitionedRegionLoadModel model) {
    int moveCount = 0;

    model.initialize();
    director.initialize(model);
    while (director.nextStep()) {
      moveCount++;
    }

    return moveCount;
  }
This test simulates a worst case scenario for rebalancing a region. Each bucket is of a
different size, randomly determined, but defined by a Gaussian distribution. All buckets
on a member are either larger or smaller than the average bucket size, which leads to a
maximal number of bucket moves being required.
geode-core/src/jmh/java/org/apache/geode/cache/partitioned/rebalance/RebalanceRegionBenchmark.java