speeding up processing of edge data by redering images with creating figures