added process calc_indice_with_clipping