Pass quantizer to rewrite_as_intra so can do traditional intra reconstruction
const -> constexpr
Partial rewriting and catch mismatches