Refinemap singlepass

As #87 is merged and grids can be refined partially in direct way, it is no longer necessary to scan separately for refinement and then for derefinement.