added mkReducePipes

Change-Id: I05f36ddbea864d2c5d782d81cfe2b0d52326eac7