Modify handling of module conflict in shortest augmenting path maxflow