construct the rough ideas for 'merge' operation