using size_t iterator when comparing to size_t