Update to be able to pass the function convert a bitlength and number to get the number in binary