out-of-pile loop