gather unique stack/queue configurations