Made changes to hub state to limit the size to 4K.