use %d to printf mi->unstructured->ctypes[i]