Edit Pushdown Projection and Cost-Based Optimization