in this class we can prevent some of the `allocation.routingNodes()` calls by assigning a variable. I think this looks just cleaner?