Compute how many bits to require convert one integer to another