change to encodeTreeBitstreamRecursion() to allow calling without viewFrustum