Take a Vec instead of an Iterator
Use chunks to get chunks of 100 points