Exploiting Hardware-Accelerated Ray Tracing for Spatial Tree Algorithms