Start pulling out rasterization action
Move over main to use pulled out rasterize implementation