MDLD/even function (R)