Normalized all lengths of data to size_t