improve Line.__init__, not initializing twice