use int64_t as cell type