Use size_t for for loop counters