Initial commit to fast rasterization functions in optimization stage.