Make machine deterministic