Fixed incorrect vector resize() call.