Write a maximum of 500 structs to structures.in