final master partitioner