Fixed arrow behavior
Added parameter addintersections.