important change in traversal code: removed optimization which truncated search at that breadth when a tag is found