improving vector line extractor