Cleaned up and fixed parts of the Spatial Split BVH code. Still not working correctly, though.