memory enhancement, reduce String & asCString most memory allocation, need further frame alloctor