Expanded nested list comprehension