restructuring: each processor has its own queue