Move truncation logic to FORMAT_BUFFER