double resolveFitting(bool Function(double) fits) => ResizeMath.findLargestFittingResizePx(steps, fits);