depth, reverse and copy const for stack2