Stack realization class