Avoid memory usage issues when merging BAM files by reducing samtools sort memory