Adding support for reduce pipelining