add option to merge same splits