Finished quantize worker script