HI @adwge , I did not understand what you are trying to achieve and the code you posted is not the best to understand
Maybe you could try to create a MRE?