simplifying plane drawing