Add option to manually specify merge nodes