Added tasks and work stealing for adaptive traversal