How do safety margins work, and how can I avoid unwanted cuts?