Don't allocate full cursors each time messages are received.
- Allocate an array of numbers to the next cursor id.
Don't allocate diffset just check for changes in groups.