Demo running

Widths are summed from the leaves upward and every parent is centered over its children, so sibling boxes never overlap.