Added chunking to the TileRenderLayer class