Improved detection of ideal precision for value string.