sanity checks on quantization and slice parameters