Reduce the overhead of disk reading by reading less images per worker