Reconstruct StatMachine