Add route and segment compact