added chunking for large images