worked on mesh refinement step