Made the connections between endpoints zigzag. Might need more work