#930 smelt->stack localization