Fixed a performance-killing bug
Merge branch 'master' of https://github.com/yichizhng/bwt-rewrite