did some small restructuring of the node encodings. leaves no longer
point to the next leaf through the last child pointer, but instead through a
separate :nextleaf pointer