bites2bytes: fix bite order and output owerflow