Thanks! I actually had the mask option in mind, and now I am more confident in that being the way forward. Now I need to somehow convert my logic into masked matrix-operations … but that’s another story