optimized Octree class, put palette stretching back in Quantize.cxx