added Octree class, using instead of palette lookup table now