0 and 1 are the values used so far, but zeroInit was initialized to 0 leading to false assumptions. I added -1 for "not calculated yet".

I'll add a comment...