Bad wrap check, deep loops and optimisation attack.