Add functionality: delete low weighted edge in case the graph is too crowded