Added "inevitable node" calculation