Improve value truncation