Modified they key parameter of tree iterate functions to a void pointer (produced a 16x performance boost!). Added an compiler error if the number of bits per byte is not 8.