adding gc() to stratify