Fixed tree to work with non-powers of 4.  Added benchmarking code.