finished stacks with array