Change the STAT_* defines to be 0-based instead of 1-based, just makes things easier to deal with and handle