build a inne list and find the biggest size of the inne list