Making flag stacks better