def u5_to_bitarray(arr):
    b = ''.join((_INT_TO_BINSTR[a] for a in arr))
    return bitstring.BitArray(bin=b)
def u5_to_bitarray(arr):
    b = .join((_INT_TO_BINSTR[a] for a in arr))
    return bitstring.BitArray(bin=b)