zero out the extremized dimension before making step perpendicular
do bisection on aps_wide if chitrue<global_median