read stacks with version <= 2