Reject curves that are too sharp.
Add a shape for planes.