[maclaurin] made refinement criteria more local
[refinement_flag] added offset field to type SFC_candidate and changed how the new grids are added