Build the number digit by digit, most significant first. At each position the tight branch is capped at N[pos]; the free branch allows all digits. Counts bubble up from the leaves.
N[pos]0..9 (all allowed)junior.md and professional.md for the tight-flag decomposition proof.