Fix list_size
Insert works until at the end of the array