fixed binary number padding in converter