modify size_t to xsize_t