Messed up the subsetting for cases when whichRegions is not 1:100 but say c(1, 99, 101, 2000, ...)