Two-column version of maximum cost pruning