BF: make_cost_thresh_lookup has correct order of costs and associated thresholds