Optimisation of the process conditions for the modification of starch