That's essentially a copy-paste of the part version.
Indices are still of type size_t to be compatible with the rest of the code. We can move to int later on.
size_t
int