Added lable of node, cost=-1 when the node is in a block