Workaround for crash due to too larger IVT
Use Thumb if possible
Fix wrong IVT size calculation