Ad
  • Custom User Avatar

    OK, recursion is bad for this.
    I solved it in iteration methos.

  • Custom User Avatar

    Exactly.
    Too slow in JS and I cannot see a better way for this other than recursion.
    When I try (-50) I don't even see the process ends.