Use to_string instead of stringstream to convert an int to string

I don't know if it's better to do it this way or another, but here we are
reduced memory usage of a string

my math was way off the first time
commented out test items