First and last items of data on some level
Data - data to take items
level - leve to take first and last items
Middl - all between first and last items First - First item Last - Last item