distinct bam dict