That's up to local law. Inheritance probably flows through the chain, children would probably need to be adopted to formalise their relationship with whatever adults, presuming a couple of steps happen quick enough to leave them with no remaining biological parents whole still children
Were there children at every step they'd probably be a chain of half siblings rather than all be half siblings of all