Performance improvemnts.

- breath first search to remove larger chunks.
- shrink command list by copying to a new list.