BWT overflow fix + Ari terminator