Performance fix for BAMRegionsIter