[MP] Use size_t instead of int in recently addded for loops.