resuence-rec: quantize