Change int to size_t

updates for 14