Added BAM module, batch size is 2.