wip: add quantization and difference series using resolution.