adding more pipelineing to matrixTN