error: node degree not decreasing when edges removed