Keep both indexes as uints.
Let's use BigUint instead of BigInt.