fix(reroute): fix bugs related to array sizes
fix(reroute): fix bugs related to array sizes

conveyal/scenario-editor,conveyal/scenario-editor,conveyal/analysis-ui,conveyal/analysis-ui,conveyal/analysis-ui