Fixed data to use sum instead of max value