Added optionaility to the Atomic integers used for counting the queue sizes