[math] make it work with ExecuteOptions and ProcessOptions