diff --git a/trainer/src/Trainer.cpp b/trainer/src/Trainer.cpp
index 13de243cb2e86855de24d23ab32f5e06786bacec..6076320b5a65e03b2bc93019631b0c8af208c3eb 100644
--- a/trainer/src/Trainer.cpp
+++ b/trainer/src/Trainer.cpp
@@ -347,7 +347,7 @@ void Trainer::doStepTrain()
     }
 
     actionName = pAction;
-    if (choiceWithProbability(0.5))
+    if (choiceWithProbability(0.2) && TI.getEpoch() >= ProgramParameters::dynamicEpoch)
       actionName = oAction;
 
     char buffer[1024];
diff --git a/transition_machine/include/Config.hpp b/transition_machine/include/Config.hpp
index 9aba457bffa52f274d01ca11507e287d6d8daabd..604d9ea67f52bc5ba7c2b920b23cb1be41179aa3 100644
--- a/transition_machine/include/Config.hpp
+++ b/transition_machine/include/Config.hpp
@@ -134,7 +134,7 @@ class Config
 
   private :
 
-  const unsigned int HISTORY_SIZE = 100000;
+  const unsigned int HISTORY_SIZE = 1000000;
   /// @brief The name of the current state of the TransitionMachine.
   std::string currentStateName;
   /// @brief For each state of the TransitionMachine, an history of the Action that have been applied to this Config.