use one single transaction to create instances and apply the cut, and add a call to regenerate in between