added vec2 size constructor param
fixed typo