bigint: small fixes