Cleaned up stringstream expansion
Loop over moments