removed segfault by commenting out drawOctree(testRoot)