move from lists of integers to bytes