Synthesis of starch fragments