compute EP only once for each vertex, at the expense of missing out on early simplifi...