hq stack routing