* stop when there is nothing else to do
* make sure package 0 is also processed