bugfix to OHToUInt

   - OHToUInt only worked for Pow2(inputs),
   so now we pad out the inputs.