cohort and heap