building analysis structures for tracking queued work and workers