Shorter version of table.pack suggested by @Tieske