Making BAM probablistic, not finished yet