Overlap Chain?

You could do it like this:

Where the finding function ( it’s really a procedure, but … ):