More efficient algorithm for top-level BVH traversal.

Algorithm from "Dynamic Stackless Binary Tree Traversal" by Barringer et al.