new_bytes_to_long doesn't work for negative values
included 1 coeff seperately