Finite State Coder