Verify lengths