lift bPipes out of the for loop
bPipes  =  transpose(bPipesT)