rename autoMerge to mergeBlocks