prefix private method with underscore "_"
removed compiledRoutes leading segment count index
fixed bug: when path is '/', segments is not empty
refactor to make static route faster