Remove some packages from stack