Bugfix - reversing value bytes when calculating totaloutvalue