Change the size type of String from uint to size_t