Remove JoinTraverse.

Build the direction map directly.
Merge pull request #73 from sellout/remove-JoinTraverse

Remove JoinTraverse.