added functionality to account for ECMP paths in getRoutes