New approach to solve FEM mesh generation