multi-stack with one array