XBzip/XBWT implementation from "Compressing and indexing labeled trees, with applications," P Ferragina et al.