layout: Perform cascading in parallel.

Speeds up the cascade by 3x.

r? @metajack