Made ParalleLinesNodeMaskSequence accept different directions