Quantization : sort clusters by diagonal and not volume
There is a #define which enables to return to the previous algorithm