FSM from path conditions