draft of dec2bit