Fixed resize method. Vertex class should be good to go now.