changed numOfSubISR_max to 8