Add define for event stack size