modify bit num from 4 to (4/8/12/16) options