improve the scan line algorithm