Slidingwindow nits

main change is to rename `newRegions` to `curRegions`, which seemed better to me