f3e636ea42
UInt::MAX.try_into().unwrap() was causing errors on Wasm platforms, due to the result being unrepresentable. This `unwrap_or` was also always being calculated regardless, so I think using `usize::MAX` is preferable on all platforms. Signed-off-by: Daniel Salinas <zzorba@users.noreply.github.com>