change message size type from uint16 to uint32