New formula may end UDF logjam