Made Vector3i a struct for better memory management