Made more memory friendly. Generator for big data reading.