fix Traverse#traverseS, sequenceS, traversalS

avoid stack overflow
Traverse#sequenceS, traverseS, traversalS test
Merge pull request #616 from xuwei-k/traverseS-trampoline

fix Traverse#traverseS, sequenceS, traversalS