shorten to 4000 characters after concatenation