Quantization in modular setting, and its applications