diff --git a/cost_function.py b/cost_function.py
index 6a5cd19dd02fe0dd4a5d75034c7975cc19e686fc..55536e89c34d387f2a22fdb82230d4707c2e41ff 100755
--- a/cost_function.py
+++ b/cost_function.py
@@ -121,7 +121,6 @@ t1 = time.perf_counter()
 timings.write(f"loading: {t1 - t0} s\n")
 t0 = t1
 
-g.set_fast_edge_removal()
 g.vp['pos_first'] = g.new_vp('object')
 g.vp['pos_last'] = g.new_vp('object')
 g.vp['first_av_rad'] = g.new_vp('float')