                        start: acc.get(parent)?.start || 0,
                        end: itemSize + (acc.get(parent)?.end || 0),
                    });
                }
            }
            return acc;
        },
        new Map<
            TreeItemWithLaneData,
            {
                start: number;
                end: number;
            }
        >()
    );