Implement turning. Ensure edges are always bounded