Why not
```
self.result[self.partial_assign].add(node)
```
or at least ``int(self.partial_assign)``