Updated Maximum Flow Class