Adjusted the new optimized sprintf work-alike