This is a global iterate; this is extremely painful in a distributed environment. Is there no way we can make it local or (better) grouped?