Automated optimal design of a HTS coreless winding