reshape if arrays are uneven