fixing bug so that the super node does not hang when edges nodes are leaving