Added check for exceeding max message size to lane messages
Also made header page count and page number fields fixed size