Parallel program schemata and maximal parallelism