Algorithm Merge
test cfg