The argument is `nbits`, so use `nbits` in the formula.