set route length configurable