working on scanline fill