This seems like an XY problem. What are you actually trying to represent with your data structure here?