mesh coordinates indexing