Got a "stack too deep" error, and saw on stack exchange that I could try and use memory variables instead of local variables, and moved 8 uint into a uint[8], no error anymore. Why does that work while using individual unit did not?
Code example
uint a;
uint b;
uint c;
uint d;
uint e;
uint f;
uint g;
uint h;
"using too many variables, stack too deep"
and with
uint[8] memory abcdefgh;
no problem