add a constructor of fm index from a bwt string