stack on static arrays