linked-list-seg expanded
