consume less memory with generated messages

Don't regen every time