Oops, fix min_slope_position/min_slope_postion -> min_slope_ratio typo.