Changed to use size_t.