fixed int for message size problem -- now uses a long