Fix some bugs.

- growRoadSegment
- GraphUtil::reduce()