Doing RAS sigma_bb in batches to save on intermediate memory usage.