Limit recursion to avoid crashing with stack overflow.
Add an example image.