zeroing out topN memory region