Shortening the message size validation