implementing DStab cache (5)