Change chunk size if more than 1000 stars in pixel.