string concatenatin using stringstream