Add calculation of difference series to pipeline.