packDeepFirstNoRecursive