sgm::stack(long int) implemented