A visualizarfan curve optimization