Division of flatworms