I have a iteration problem where I have a Binary Tree and I need to have a HashMap that is updated by a node, and this exact map should be accessible to both it