Commit: Modified the way vectors were resized.