[refinement_primitives] use cg%refinemap for more precise and careful refining