Move loop over BX out of HI clause -- should be done for both HI and pp