Working bwt lookup