trace using iterating version

TraceThroughTree2 function is BSP Line trace function using iterator and
stack