Fixed bugs and optimized evasion moves generation