reduce memory usage for rpkmFromBam