Fix bug when a_Idx is not a multiple of SectionBLockCount