added bstack smfact