goto_crossing: add parameters threshold_w_only...

... max_sum_v, and  max_sum_w