deporting LFSR in C totally