Initialize stack.