bugfix iss34 bam calc