Add debug flag.

- Increase max iterations on the algorithm to ensure no false positives.