How fast is your code for example for 500 nodes? Does the user notice that the function is running?