max weight in connect section of a path gragh