Added cull_edges