Why do you cast to `size_t`?