tie vector sizes together