BAM

BAM compilation from TPB