Conversion of amylose to amylopectin