Slower when loading from file, but faster at runtime
Fixed off-by-one error calculating stats