make it possible to limit the size of the dynamic RouteCollection