Set a treshold size for a possible loop.
- Using LOOPTRESH variable.