Cost of relabeling wasn't implemented - all nodes were treated as though they are distinct.