create XYZCoord type and array of face coords