simplify byte to uint32 conversion