check max bytes overflow in the client, before sending changes