Keeping only minimum cost and duration flight data