layout: Implement parallel reflow for the bubble-widths and assign-heights phases

r? @metajack