Removed maxEdge