Added partial support for parallel lines, actually it doesn't work