test direct meshing vs refinement