layout: Construct flows in parallel

r? @metajack