Yeah that one can really kill your computer. In a proper desktop app the developer gets a lot more control over processing of tasks like this, but in the browser the best I can do is limit the number of branches or the depth, and hope your computer/tablet is fast enough to not get too slow. Thanks for the feedback!