reduce memory GC and improve performance

1. replace + with append 
2. replace single char strings with characters