Costs mergeSmallSecond = new Costs();
costEstimator.addLocalSortCost(SMALL_ESTIMATES, mergeSmallFirst);
costEstimator.addLocalSortCost(BIG_ESTIMATES, mergeSmallFirst);
costEstimator.addLocalMergeCost(SMALL_ESTIMATES, BIG_ESTIMATES, mergeSmallFirst, 1);
costEstimator.addLocalSortCost(BIG_ESTIMATES, mergeSmallSecond);
costEstimator.addLocalSortCost(SMALL_ESTIMATES, mergeSmallSecond);
costEstimator.addLocalMergeCost(BIG_ESTIMATES, SMALL_ESTIMATES, mergeSmallSecond, 1);
costEstimator.addLocalSortCost(SMALL_ESTIMATES, mergeBothSmall);
costEstimator.addLocalSortCost(SMALL_ESTIMATES, mergeBothSmall);
costEstimator.addLocalMergeCost(SMALL_ESTIMATES, SMALL_ESTIMATES, mergeBothSmall, 1);
costEstimator.addLocalSortCost(BIG_ESTIMATES, mergeBothLarge);
costEstimator.addLocalSortCost(BIG_ESTIMATES, mergeBothLarge);
costEstimator.addLocalMergeCost(BIG_ESTIMATES, BIG_ESTIMATES, mergeBothLarge, 1);