Convert LazyErastothenes data structure to an array.