Remove unused method
Use sizes for toArray