temporary update: greatly reduce lag caused by my mistake but find_next_trees still does not work