Reduce complexity of ticket's algorithm

Accumulate remains of tickets for next nested iteration
to reduce unnecessary loop over current route