make merge based on mergeAll and not vice-versa