Added missing types of collections
Fixed single loop
Remove redundant exception and instantiation
More optimizations to speedup interface terminals
Merge pull request #246 from yueh/fix-227

More optimizations to speedup interface terminals
Merge pull request #244 from thatsIch/pathgridcache

Fixed single loop
Merge pull request #245 from thatsIch/pathsegment

Remove redundant exception and instantiation