won't crash when you try and removed more edges than there are left