libdistmesh fully functional