convert queues from list of LockId to vector of LockId at Andys suggestion