resize -s .5;
sort;
quantize;
resize -s 2;