almost complete bzip2 decoder