changed buffer size in serializebuffer