new edge distortion method for testing