Coordinates are now written to disk after a certain point rather than keeping thema all in memory. The threshold is currently set to 5 coordinates for testing, but will be set to a higher number such as 100 in the future.