use actual size of list for array conversion