adding custom memory allocation support to utstring