finish mgpu-sssp, will have error when sub-graph size is too big'