Reliability of automatic 3D mesh generation