collector: visit stack in a different order