Joint squaring off: implement grouping and regional splitting for distributed parallelization