fixed bugs in --realign and applied new cigar and alignment parameters to the placement bam