handles L-junctions. improved drawing