use the bottom-up insted of top-down strategy for the gating path searching close #135
Merge branch 'trunk'