better settings to avoid overflow