Revert BAMtoBW