// the parallel bits
List<Pipe> pipes = new ArrayList<Pipe>();
for( int i = 0; i < ensembleSpec.getModelSpecs().size(); i++ )
{
Spec spec = (Spec) ensembleSpec.getModelSpecs().get( i );
if( spec instanceof TreeSpec )
pipes.add( createScoringPipe( i, pipe, modelSchema, new TreeFunction( (TreeSpec) spec, isCategorical, false ) ) );
}