added --bitwidth option