Throw an `OutOfRangeException` or `InvalidArgumentException` in case of the given bitset has out of range bits set instead of truncating.