Correctly compute size of complex vectors