Edited DirectedPix so it does not cross other Pix