Max flow works