fix bsp tree traversal, add example output