Change the int type with size_t type