change Line and Plan to DiscreteLine and DiscretePlane