Scratch must be at least as large as the sample granularity.