Pad incomplete row with undef values