50% improved bam processing spead

there could be much more
cleanning up