Finite element meshing detailed algorithm steps