Let each group arcs to have their unique id numbers