Extend length of the lowest note in a midi selection to the tail to the selection

Hi,

In the key editor I would like to extend length of the lowest note in a midi selection to the tail to the selection as in the screenshot below. Assuming the selection is the stack of left 4 notes, I would like to produce the stack of 4 notes in the right.

image

Is it possible to do it using Logical editor? This is what I have so far!

Any help would be appreciated.

CS