Having a lot of moving ranges can slow things down quite a bit so clear them before removing the lines.