3 stacks out of 1 array