NF: add guard for unexpected bit widths

From comment by Eric L