Changed building of expression strings

Changed building of expression strings from incremental construction  to
joining array of string parts.