Fixed ByteTree.

Almost finished Algo22