Fixing a closure in ZADD calls in parallel array