It could be changed, but currently curves.bounds_min_max relies on the initial value of its arguments. Split from D16331.