Removes unused (and unneeded) CD for corner detection on rects.