Trim out some lines for (P10) encode predicate