`nodes` -> `Number of nodes`. If level is zero indexed, when `level = 0`, we have `2^(level - 1) = 1/2`. Is it expected?