There's still no point in setting this each time through the loop.  Do we want to systematically set it to the shortest array and truncate others if necessary?  We need to be careful (and test!) what happens in various cases when using an array not of this size.