bwt performance improvement