Improved rendering speed by a factor of 4-6x by directly manipulating the memory instead of creating a drawing canvas for each chunk.