assign task statuses to desk stages: optimization