Stack problem solved in C++11