new itoa implementation in debug module