Changed order of members of Vertex structure for better performance.