Stack effect inference for inline and inline recursive words