The larger numbers don’t appear to be working, i.e. `sumFibs(1000)`

. I can’t tell where my logic is going wrong. It works fine for smaller numbers.

```
function sumFibs(num) {
//Build array of fib sequence below num; incl num
let fibarr = [1,1];
for(var i = 2; i < num; i++){
let newfibseq = fibarr[i-1] + fibarr[i-2];
fibarr.push(newfibseq);
}
//Go through the list and find all odd numbers
let newfibarr = [];
for(var j = 0; j < fibarr.length; j++){
if(fibarr[j] % 2 !== 0){
newfibarr.push(fibarr[j]);
}
}
//Add all those odd numbers together
return newfibarr.reduce((accumulator, currentValue) => accumulator + currentValue );
}
// sumFibs(4);
```

**Link to the challenge:**

https://learn.freecodecamp.org/javascript-algorithms-and-data-structures/intermediate-algorithm-scripting/sum-all-odd-fibonacci-numbers