Construct path mask from True values in data tree

Hi everybody,
I was trying to retrieve the paths of true values within a data tree to use as a path mask.
Like searching for member index of a simple list but getting full paths rather than indeces within a tree.
I’ve gotten the desired result as seen in the screenshot but somehow it looks a little clumsy to me and since i couldn’t find this basic issue anywhere in the forum, i feel like I must have overlooked a very basic component or something, no? :smiley:
Thanks and greetings from Vienna,

grafting work in your case?