improved constant folding in string concatenation