Fix one bug of merge, and add failure coloring to test effect of subgraph