compute waypoint flows