Use multiple threads for assigning events to RUs.
Encode header size in header itself instead of recalculating it.