Merge FSM