Rasterizer: Reallocate memory only once.