Capturing the pipelined semi-naive algorithm.