merge xtuple