eliminated workers.sort_by_resources() in GetTaskToSend, used boost::bimap instead