messed around with octree code