added mesh refinement class