termrec: add non-HEAD formula, v0.17