Alternative implementation of retrieve() method, reusing the cipher_zero and cipher_one objects for all indices