modified otp cache structure