removed one indirection layer which is not necessary in the shardcache scenario

and more details in the pseudocode