VDF For_Each implementation