changed type of node and element tags in API from int to size_t to support very large meshes (issue #395)