Finaly figured out a solution that I think I can be happy with for the number base with powers of two problem. To do: finish up with the wrapper for the fixed length powerOfTwoWrapper