>Why not ForEachItemIn(n, pendingBuckets) instead of accessing a member of owner?
no good reason.
>You could also combine the two loops.
Yes.

I'll change.