I see, didn't know it was executed in a loop, then I'd just make it
```
if (node.data.value !== combined_node.value || 
    node.data_hash !== combined_node.hash) {
 success = false;
}
```

on a related question. does the loop stop when success === false?

Thanks!