moved size_t to static