Vector reserve / resize mismatch