layout: Use the concurrent hash map for the leaf sets.

64% improvement in style recalc.