Add correct rewards with uncles and workaround overflow for PoC5

See commits. Now gets up to block no. 12370.