add stack segment sample2