generalized map reduce paths