Added array of LengthfRoutes.
Fixed resultTable.