             .layoutAsEqualSegments(
                 orientation: .vertical,
                 gutter: spacing)
-        
-        layout.startLayout(with: layoutRect)
-        
+
         let maxWidth = max(
             l1.sideLength + l1.horizontalMargins,
             l2.sideLength + l2.horizontalMargins,

            .layoutAsEqualSegments(
                orientation: .horizontal,
                gutter: spacing)
        
        layout.startLayout(with: layoutRect)
        let maxHeight = max(
            l1.sideLength + l1.verticalMargins,
            l2.sideLength + l2.verticalMargins,

        l1 = TestLayoutable(sideLength: 30, layoutModes: BayaLayoutOptions.Modes(width: .matchParent, height: .matchParent))
        l2 = TestLayoutable(sideLength: 60, layoutModes: BayaLayoutOptions.Modes(width: .matchParent, height: .matchParent))
        l3 = TestLayoutable(sideLength: 90, layoutModes: BayaLayoutOptions.Modes(width: .matchParent, height: .matchParent))
        l1.m(1, 2, 3, 4)
        l2.m(5, 6, 7, 8)
        l3.m(9, 10, 11, 12)
        var layout = [l1, l2, l3]
            .layoutAsEqualSegments(
                orientation: .horizontal,
                gutter: spacing)

        layout.startLayout(with: layoutRect)
        let maxHeight = max(
            l1.sideLength + l1.verticalMargins,
