dir max_flow