Keeping track of last stacked samples