make cost curve rounding more precise