returns trip by length