add event size macro