Add chunk length to intermediate state events