Use id to create last bam.