Substituted all int arrays with coord structs.