Added new conditions on constraints building depending on the fan. Possible errors

Debug deterministic = done
Debug stochastic = undone