The role of the compound nucleus in complex fragment emission at low and intermediate energies