first commit of maximum flow tree