Changed unsigned ints to size_ts