using workflow calc_indice_with_clipping