construction of static stacks