I finally understood how your abundant main loop works, and now I think
encoding the state as R*Z + P would be more efficient than your P*(N/Z) + R.
Let's see if I can make this work.
encoding the state as R*Z + P would be more efficient than your P*(N/Z) + R.
Let's see if I can make this work.