initialize stack pointers